import React from 'react';
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
import Login from '../pages/Login/login';
import Dashboard from '../pages/Dashboard/dashboard';


function AppRoutes() {
  return (
    <Router>
      <Routes>
        <Route path="/" element={<Login />} />
        <Route path="/dashboard" element={<Dashboard />} >
        </Route>
      </Routes>
    </Router>
  );
}

export default AppRoutes;